﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Budgeter.ViewModels.Budget.AfterCreate
{

    public class Loader : ILoader<Models.Budget, ViewModel>
    {
        public ViewModel Load(Models.BudgeterContext db, Models.Budget from)
        {
            ViewModel vm = new ViewModel
            {
                ReceiptNumber = from.ReceiptNumber,
            };
            return vm;
        }

        public void PopulateDataForView(Models.BudgeterContext db, ViewModel model)
        {
        }
    }

}